<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />
    <meta http-equiv="X-Frame-Options" content="ALLOW-FROM">
    <meta http-equiv="pragma" content="no-cache" />
    <title></title>
    <script src="../cordova.js"></script>
    <script src="../cordova_plugins.js"></script>

    <script>
    
  
    function showViewController(){
        cordova.exec(function(data) {
                     }, function(err) {alert(err)}, "TTVoicePlugin", "showViewController", ["Hello,这是文本插件"]);
    }

    </script>
</head>
<body>
  
        <input style="margin-top:100px;margin-left:50px;height:80px;width:200px;font-size:20px" type="button" value="发音" onclick="showViewController()" ><br />

</body>
</html>